package com.edt.ichannel.api.service.impl;

import com.edt.ichannel.api.dao.BalanceProductDao;
import com.edt.ichannel.api.service.BalanceProductService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class BalanceProductServiceImpl implements BalanceProductService {
    @Resource
    private BalanceProductDao balanceProductDao;
    @Override
    public boolean isBalanceProduce(String productId) {
        return balanceProductDao.scelectBalanceProductCount(productId) > 0;
    }
}
